<style>
    xm-select{
        z-index: 10002;
    }
</style>
<div class="layuimini-container">

    <div class="layuimini-main" id="app">

        <div class="layui-tab layui-tab-card" style="min-height: 660px">

            <ul class="layui-tab-title">
                <li class="layui-this">修改用户</li>
<!--                <li>其他信息</li>-->
            </ul>
            <div class="layui-tab-content layui-form" style="min-height: 150px;">

                <div class="layui-tab-item layui-show">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">头像</label>
                        <div class="layui-input-block layuimini-upload">
                            <input name="avatar" class="layui-input layui-col-xs6" value="{$row.avatar}">
                            <div class="layuimini-upload-btn">
                                <span><a class="layui-btn" data-upload="avatar" data-upload-number="one" data-watermark="1" data-upload-exts="png|jpg|ico|jpeg"><i class="fa fa-upload"></i> 上传</a></span>
                                <span><a class="layui-btn layui-btn-normal" id="select_avatar" data-upload-select="avatar" data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户名</label>
                        <div class="layui-input-inline">
                            <input type="text" name="username" value="{$row.username}" required lay-verify="required"
                                   autocomplete="off"    placeholder="请输入用户名" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">昵称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="nickname" value="{$row.nickname}" required lay-verify="required"
                                   autocomplete="off"    placeholder="输入昵称" class="layui-input">
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">手机</label>
                        <div class="layui-input-inline">
                            <input type="text" name="mobile" value="{$row.mobile}" autocomplete="off" placeholder="（选填）请输入手机"
                                   class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">邮箱</label>
                        <div class="layui-input-inline">
                            <input type="email" name="email" value="{$row.email}"
                                   autocomplete="off"  placeholder="请输入邮箱" class="layui-input">
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">级别</label>
                        <div class="layui-input-inline">
                            <select name="grade_id">
                                {volist  name="group_list" id="vo"}
                                <option  {if condition="$row.grade_id eq $key"}selected="selected"{/if} value="{$key}">{$vo}</option>
                                {/volist}
                            </select>
                        </div>
                    </div>

                </div>
                <div class="layui-tab-item">

                    <div class="layui-form-item">
                        <label class="layui-form-label">QQ</label>
                        <div class="layui-input-inline">
                            <input type="text" name="qq_id" value="{$row.qq_id}" autocomplete="off"
                                   class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">专属头衔</label>
                        <div class="layui-input-inline">
                            <input type="text" name="designation" value="{$row.designation}"
                                   autocomplete="off"   class="layui-input">
                        </div>
                    </div>



                </div>



                <div class="submit-info text-center">
                    <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
                    <a class="layui-btn layui-btn-primary layui-btn-sm" layform-close>关闭</a>
                </div>

            </div>



        </div>



    </div>


</div>
